home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 33
/
Volume 33 - JOGO DISK .iso
/
Games
/
showdown_noel.swf
/
scripts
/
DefineSprite_50
/
frame_2
/
DoAction.as
Wrap
Text File
|
2007-01-15
|
429b
|
16 lines
xPos = _X;
yPos = _Y;
mcBackground._x -= xPos;
mcBackground._y -= yPos;
mcAnimation._x -= xPos;
mcAnimation._y -= yPos;
var stageWidth = Stage.width;
var stageHeight = Stage.height;
var centerStageX = stageWidth / 2;
var centerStageY = stageHeight / 2;
mcBackground._width = stageWidth;
mcBackground._height = stageHeight;
mcAnimation._x += centerStageX;
mcAnimation._y += centerStageY - stageHeight / 10;
stop();